package srk.java.demo.swt1;

import org.eclipse.swt.program.Program;
import org.eclipse.swt.widgets.Display;

public class Swt_program_todo_1_10 {
	public static void main(String[] args) {

		Display display = new Display();
		Program[] programs = Program.getPrograms();
		for (int i = 0; i < programs.length; i++) {
			Program program = programs[i];
			System.out.println(program.getName());
		}
		boolean x = Program.launch("Calculator");
		System.out.println("Program launched " + x);
		display.dispose();
	}

}
